package org.market.domain.strategy.model.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @Author: Insight
 * @Description: 抽奖策略实体
 * @Date: 2025/2/4 下午11:06
 * @Version: 1.0
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class StrategyAwardEntity {
    /**策略id*/
    private Long strategyId;
    /**奖品id*/
    private Integer awardId;
    /**奖品总库存*/
    private Long awardCount;
    /**奖品余量*/
    private Long awardCountSurplus;
    /**中奖概率*/
    private BigDecimal awardRate;
}
